package com.atguigu.petstore.feign.coupon;

import com.atguigu.petstore.common.result.Result;
import com.atguigu.petstore.coupon.vo.SeckillProductVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;

import java.util.List;

/**
 * @author lfy
 * @Description
 * @create 2023-09-28 13:59
 */
@FeignClient(value = "coupon-service")
public interface CouponFeignClient {

    @GetMapping("/rpc/coupon/seckill/products")
    Result<List<SeckillProductVo>> getSeckillProduct();
}
